﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Media;
using System.Reflection;

namespace QiangPiaoTool
{
  public  class Sounds
    {

      public static void Play(string resp)
      {
          //播放音乐
          Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(resp);
          SoundPlayer sp = new SoundPlayer(stream);
          sp.Play();
      
      }

    }
}
